package com.tianqu.tms.dao;

import java.io.Serializable;
import java.util.List;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.CarStyleCountDto;
import com.tianqu.tms.dto.MarketCarPriceCountDto;
import com.tianqu.tms.dto.VendorDto;

public interface VendorDao extends Serializable {
	
	public List<VendorDto> findAllVendorInfo() throws TmsDaoException;

	public int findAllVendorInfoCountTotal() throws TmsDaoException ;
	
	public List<VendorDto> findAllVendorInfoCount() throws TmsDaoException;
	
	public List<CarStyleCountDto> getCarStyleCount(String vendorId) throws TmsDaoException;
	
	public VendorDto getVendorInfo(String id) throws TmsDaoException;
	
	public int findOnlineCount()  throws TmsDaoException;
	
	public List<VendorDto> findVendorOrderByFirstChar()  throws TmsDaoException;
	
	public List<MarketCarPriceCountDto> getMarketCarPriceCount()  throws TmsDaoException;
}
